home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Prog / U-Z / VideoToolBox Folder / VideoToolboxSources / VideoToolbox.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-03-07  |  1.7 KB  |  35 lines  |  [TEXT/KAHL]

  1. /*
  2. VideoToolbox.c
  3. Use this file to create a precompiled header in THINK C. While you have this
  4. file open, select Precompile from THINK C's Source menu. Save the result as
  5. "VideoToolbox" in the VideoToolboxSources folder. You may then speed up the
  6. compilation of any project roughly tenfold by typing the line
  7.  
  8. #include <VideoToolbox>
  9.  
  10. into the Edit:Options:Prefix window. Note the absence of any ".h" in the
  11. filename.
  12.  
  13. Unfortunately THINK C isn't very smart about figuring out when a precompiled
  14. header is out of date. If you update any of the THINK C, ANSI C, or
  15. VideoToolbox.h headers, then you should recreate the precompiled header. Also,
  16. the precompiled header will reflect the compiler and language settings in effect
  17. at the time of precompilation, so if you have different projects with different
  18. settings then you may need various versions of the precompiled header. I don't
  19. know which compiler settings matter; the THINK C manual doesn't say. If in
  20. doubt, just skip this whole exercise, and don't use precompiled headers at all.
  21.  
  22. Header files whose precompilation depends on the mc68881 or mc68020 THINK C
  23. compiler options (e.g. math.h and mc68881.h) were omitted from VideoToolbox.h so
  24. that the resulting precompiled header file can be used in projects regardless of
  25. those options. (You'll want them enabled in your experiments to make full use of
  26. your hardware, but you'll usually want them disabled in demo programs for
  27. maximum compatibility with other peoples computers.) However, changing other
  28. options (e.g. size of double or size of int) will still make it necessary to
  29. rebuild the precompiled header file, to reflect the new settings.
  30.  
  31. HISTORY:
  32. 2/27/93    dgp    Wrote it.
  33. */
  34. #include "VideoToolbox.h"
  35.